#!/usr/bin/env bash

IMAGE=$(docker images | grep fabric-node-cli | awk '{print $1}')

if [[ -n "${IMAGE}" ]]; then
    docker rmi ${IMAGE}
fi

docker build -t fabric-node-cli .

